<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="/world/script/goalbeer_main.css" rel="stylesheet" type="text/css">
<style type="text/css">

/*맥주이미지*/
#left_beer{margin-top:20px;width:150px;height:600px;float:left;background-image:url("/world/image/bgimage.jpg");background-repeat:no-repeat;background-size:1000px}

/*검색링크*/
#left{padding:20px;margin:10px;font-family:Malgun Gothic;width:400px;float:left;}
#left .beercap{width:150px;}

#content{padding:5px;margin:5px;font-family:Malgun Gothic;width:400px;float:right}
/*최고의 맥주 및 게시판 추천글*/
#beer_best_layer{border-radius:17px; border:1px solid gray;align:center; width:380px;height:350px;margin-bottom:5px;}
#best_beerName{ font-size: 25px; font-family:Britannic Bold;}
#beer_Best tr td {text-align:center;}
#title_best{color:orangered;font-size:28px; font-weight:bold;font-family:"한컴 쿨재즈 B";}
#beer_img{width:200px; height:250px;}

#beer_board_layer{width:400px;margin-top:20px;}
.title_board{background:gray;color:white; width:120px;text-align:center;font-size:15px;}
#beer_Count, #beer_Up{font-size:13px;}


</style>
<script type="text/javascript" src="/world/script/jquery.js"></script>
<script type="text/javascript">

</script>

</head>
<body>
<div id="container" >
	<!-- 로그인 -->
	<div id="header_login">
		<c:choose>
			<c:when test="${sessionScope.login_member==null}">
			<jsp:include page="/member/login_form.jsp"/>
		</c:when>
		<c:otherwise>
			<jsp:include page="/member/login_success.jsp"/>
		</c:otherwise>
		</c:choose>
	</div>
	
	<!-- 메뉴바 -->
	<div id="header">
		<jsp:include page="/include/indexTop.jsp"/>
	</div>
	
	<!-- 좌측 이미지 -->
	<div id="left_beer">
		<jsp:include page="/include/indexLeft.jsp"/>
	</div>

	<!-- 중앙 Beercap 링크연결 -->
	<div id="left" >	
		<jsp:include page="/include/indexLinks.jsp"/>
	</div>
	<p>
	
	<!-- 우측 contents -->
	<div id="content" >
		<!-- 회원이 뽑은 최고의 맥주 -->
		<div id="beer_best_layer">
			<center>
			<table id="beer_Best">
				<tr>
					<td class="table_title"><div id="title_best">회원들이 뽑은 최고의 맥주</div></td>
				</tr>
				<tr>
					<td id="best_beerName" width='50'>
							${requestScope.BeerInfo.beerInfoEngName}
					</td>
				</tr>
				<tr>
					<td>
						<a href="${initParam.rootPath}/liquor/beer_search_index.do?value=${requestScope.BeerInfo.beerInfoName}">
							<img id='beer_img' src="${requestScope.BeerInfo.imageUrl}">
						</a>
					</td>
				<tr>
			</table>	
			</center>
		</div>
		
		<!-- 게시판 추천글 -->
		<div id="beer_board_layer">
			<table id="beer_Count">
				<thead>
					<tr>
						<td colspan="3" class="table_title"><div class="title_board">공지사항</div></td>
					</tr>
					<tr align='center' >
						<th width='700'>제목</th>
						<th width='300'>글쓴이</th>
						<th width='100'>조회</th>
					</tr>
				</thead>
				<tr align='center'>
					<td><b>world 공지사항입니다.</b></td>
					<td>관리자</td>
					<td>54</td>
				</tr>
				<tr align='center'>
					<td colspan="3">새로 오픈한 world 많은 이용 바랍니다.</td>
				</tr>
			</table>
			<hr>
		<p>
		</div>
	</div>

	<!-- 회사정보 -->
	<div id="footer" >
		<jsp:include page="/include/indexBottom.jsp"/>
	</div>
</div>

</body>
</html>